package com.example.mapper.db1;

import com.example.demain.UserDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Primary;

@Primary
@Qualifier("db1UserMapper")
@Mapper
public interface UserMapper {

    UserDO getUserById(@Param("id") Integer id);

    void insertUser(UserDO userDO);
}
